Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a LaunchAgent to manage the Jitouch process #8

Merged
merged 2 commits into from
Dec 4, 2021
Merged

Conversation

aaronkollasch
Copy link
Collaborator

This PR removes Jitouch from the login items, adds a LaunchAgent plist file to ~/Library/LaunchAgents/, and loads it with launchctl load. Unlike the login item, the LaunchAgent will ensure that Jitouch is always running.

To unload the LaunchAgent, use "Quit Jitouch" in the menu bar item. To reload, switch Jitouch to "On" in the Preferences Pane (or switch "Off" then "On").

This PR also adds logging to the preference pane, which is only enabled if the DEBUG flag is set during compile time.

@aaronkollasch aaronkollasch merged commit 5127589 into main Dec 4, 2021
@aaronkollasch aaronkollasch deleted the launch-agent branch December 28, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant